<HTML>
<HEAD>
	<TITLE>Chat Room:  Current Users</TITLE>
<meta http-equiv="Content-Language" content="th">
  <meta http-equiv="Content-Type" content="text/html; charset=windows-874">	
</HEAD>
<? include "style.php"; ?>
<BODY BGCOLOR="<? echo $strFrameColor; ?>" onLoad="window.focus()">
<TABLE BORDER=0><TR><TD>
<?
 
//dim $strUsers, $strKill;
//dim $i;
$arrUsers = array();
 
$strKill =  @$_GET["kill"];
//$strUsers = Application("strUsers");
     

if (@$_GET["kill"] != "") {
	$strKill = "|".$strKill;
	$strUsers = str_replace($strKill,"",$strUsers);
	//Application.Lock;
	//Application("strUsers") = $strUsers;
	//Application.UnLock;
}


$arrUsers = Array();
//$arrUsers = Split($strUsers,"|");
 
echo "<B>Currently Logged In (click to flush):</B><BR><BR>";
 
for ($i=1; $i<=count($arrUsers); $i++) {
	if ($arrUsers[$i] != $strKill) {
		echo '<A HREF="checkusers.php?kill=' . Server.$URLEncode[$arrUsers[$i]] . '">' . $arrUsers[$i] . "</A><BR>" . "\n";
	}
}
 
// Response.Write(strUsers)  // Debugging
 

?>
</TD></TR></TABLE>
</BODY>
</HTML>

